package com.dayu.gulimall.product.vo;

import com.dayu.gulimall.product.entity.SkuImagesEntity;
import com.dayu.gulimall.product.entity.SkuInfoEntity;
import com.dayu.gulimall.product.entity.SpuInfoDescEntity;
import lombok.Data;

import java.util.List;

/**
 * @author dayu
 * @version 1.0
 * @email dayu007@foxmail.com
 * @date 2021/2/8 20:33
 * @description
 */
@Data
public class SkuItemVo {
    //1、获取sku基本信息pms_spu_info
    SkuInfoEntity info;

    //2、获取sku图片信息 pms_spu_images
    List<SkuImagesEntity> images;

    //3、获取spu的销售属性组合
    List<SkuItemSaleAttrVo> saleAttr;

    //4、获取spu的介绍
    SpuInfoDescEntity desc;

    //5、获取spu的规格参数信息
    List<SpuItemGroupAttrVo> groupAttrs;

    boolean hasStock=true;
}
